package com.ruoyi.petSys.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * <p>标题: </p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2024</p>
 * <p>公司: 中科天巡</p>
 *
 * @version: 1.0
 * @author: WangChaoTao
 * @date 2024/5/24
 */
@Data
public class BrowseHistoryDto  extends BaseEntity {

    private Long id;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long inviId;

    /** 浏览时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "浏览时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date browseTime;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;


    /**
     *标题
     */
    private String title;
}